import 'package:fish_redux/fish_redux.dart';

enum SetPasswordByOldAction { updateLoading, setPassword }

class SetPasswordByOldActionCreator {
  static Action onSetPasswordAction() {
    return const Action(SetPasswordByOldAction.setPassword);
  }

  static Action onLoadingAction(bool isLoading) {
    return Action(SetPasswordByOldAction.updateLoading, payload: isLoading);
  }
}
